! function () {
	function s(s) {
		switch (s) {
			case "gopng_lt":
				e("智能聊天", ["<p>在群里艾特我+聊天内容即可和我聊天</p>", "举个栗子"], [" “@瑶妹 你好，你是美女么？”", " “@瑶妹 你什么星座的啊？” ",
					"<img src='./img/chat/1.jpg'>"
				]);
				break;
			case "gopng_dge":
				e("音乐系统", ["<p>在群里发[点歌+歌名]即可,你要的BGM我这就给你！</p>", "举个栗子"], [" “点歌成都”",  " “网易点歌成都” ",  " “不好听” ", " “上dj” ", 
					"<img src='./img/chat/dg.jpg'>"
				]);
				break;
			case "gopng_cq":
				e("抽签", ["<p>在群里发送抽签，玩经典解签文</p>", "举个栗子"], [" “抽签”", 
					"<img src='./img/chat/cq.jpg'>"
				]);
				break;
			case "gopng_elem":
				e("音乐系统", ["<p>在群里发[点歌+歌名]即可,你要的BGM我这就给你！</p>", "举个栗子"], [" “点歌成都”",  " “网易点歌成都” ",  " “不好听” ", " “上dj” ", 
					"<img src='./img/chat/dg.jpg'>"
				]);
				break;
			case "gopng_xz":
				e("星座运势", ["<p>在群里可以问我每个星座今天的星座运势。 </p>", "举个栗子"], [" “白羊座”", 
					 "<img src='./img/chat/xingzuo.jpg'>"
				]);
				break;
			case "gopng_zrcg":
				e("真人唱歌", ["在群里发唱歌，即可聆听智能管家的美妙歌声！", "举个栗子"], ["唱歌",
					"<img src='./img/chat/cg.jpg'>"
				]);
				break;
			
			case "gopng_cgm":
				e("猜歌名", ["<p>在群里发猜歌，就可以玩猜歌名游戏啦。听歌猜猜是哪首歌？</p>"], ["<img src='./img/chat/cgm.jpg'>"]);
				break;
			case "gopng_cyjl":
				e("成语接龙", ["<p>在群里发成语接龙，直到规定次数游戏结束</p>"], ["<img src='./img/chat/cyjl.jpg'>"]);
				break;
			case "gopng_acy":
				e("门派", ["<p>在群里发门派，在选择创立门派i<br/><br/>创立门派#斗门</p>"], ["<img src='./img/chat/mp.jpg'>"]);
				break;
			case "gopng_azc":
				e("爱找茬", ["<p>在群里发找茬即可开始游戏<br/>群内回复错误编号即可<br/></p>"], ["<img src='./img/chat/azc.jpg'>"]);
				break;
			case "gopng_ccy":
				e("猜成语", ["<p>在群里发猜成语，看图片猜成语，唉哟挺有趣哦~</p>"], ["<img src='./img/chat/ccy.jpg'>"]);
				break;
			case "gopng_cyy":
				e("猜英雄", ["<p>在群里发猜英雄，听语音猜王者英雄，很有趣哦。</p>"], ["<img src='./img/chat/cyx.jpg'>"]);
				break;
			case "gopng_qwdt":
				e("一战到底", ["<p>在群里发一战到底，根据文字提示猜出答案。</p><br/>千奇百怪的有趣问题，看谁抢答的又快有准！"], ["<img src='./img/chat/yzdd.jpg'>"]);
				break;
			case "gopng_cmy":
				e("一战到底", ["<p>在群里发一战到底，根据文字提示猜出答案。</p><br/>千奇百怪的有趣问题，看谁抢答的又快有准！"], ["<img src='./img/chat/yzdd.jpg'>"]);
				break;
			case "gopng_yfpd":
				e("情侣系统", ["<p>在群里发结婚</p>", "举个栗子"], [ " “@昵称 求婚” ", " “@昵称 逼婚” ", " “我愿意” ", " “我拒绝” ", " “强制离婚” ", " “我的婚姻” ", " “领证” "," “洞房” ",
					"<img src='./img/chat/jiehun.jpg'>"
				]);
				break;
			
			case "gopng_dfw":
				e("宝宝", ["<p>在群里发宝宝<br/>呼出菜单，洞房提示受孕后方可生育</p>"],[" “我的宝宝”", "“生育宝宝”","“同意生育”","“拒绝生育”","“喂食”","“陪伴”","“宝宝排名”","“宝宝改名”","“复活宝宝”",
				   "<img src='./img/chat/bb.jpg'>"]);
				break;
			case "gopng_yhnc":
				e("猜车标", ["<p>在群里猜车标，根据图片提示猜出答案。</p>"],[
				   "<img src='./img/chat/cb.jpg'>"]);
				break;
			
			
			case "gopng_hy":
				e("活跃统计", ["<p>以下功能需要超管才能触发</p>", "举个栗子"], [" “日活跃榜”", " “月活跃榜”", "“总活跃榜”", "“潜水统计”", "“当日潜水统计”",  "“邀请排行榜”", "“发言统计”",
					"<img src='./img/chat/hytj.jpg'>"
				]);
				break;
			case "gopng_tq":
				e("天气查询", ["<p>在群里可以问我您的城市的天气噢</p>", "举个栗子"], [" “杭州 天气”", "“北京 天气”",
					"<img src='./img/chat/tianqi.jpg'>"
				]);
				break;
			case "gopng_cb":
				e("每日新闻", ["<p>在群里发新闻，即可聆听当日的新闻情报！</p>", "举个栗子"], [ "“新闻早餐”", "“网易新闻”",
					"<img src='./img/chat/mrxw.jpg'>"
				]);
				break;
			case "gopng_qd":
				e("签到系统", ["<p>在群里发签到，即可领取当天的金币/钻石/积分/魅力/增加身价！</p>", "举个栗子"], [" “签到”",
					"<img src='./img/chat/qd.jpg'>"
				]);
				break;
			
			case "gopng_xx":
				e("休闲娱乐", ["<p>简单又好玩的小游戏，带你回味童年</p>", "举个栗子"], ["“召唤神龙”",
					"<img src='./img/chat/xx.jpg'>"
				]);
				break;
			case "gopng_gs":
				e("讲笑话", ["<p>在群里可以让我讲笑话、给大家带来欢乐喔</p>", "举个栗子"], ["“讲笑话”", "“情话”", "“一言”", "“每日一言”", "“甜狗日记”",
					"<img src='./img/chat/jxh.jpg'>"
				]);
				break;
			case "gopng_pdcx":
				e("配对查询", ["<p>想查询你跟Ta的婚姻指数</p>", "举个栗子"], ["“属性查询”", "“星座配对”", "“姓名配对”", "“属相配对”",
					"<img src='./img/chat/pdcx.jpg'>"
				]);
				break;
			case "gopng_zyhy":
				e("退群提醒", ["需要单独在群里发开启监控", "举个栗子"], [" “开启监控” ", " “开启改名提示” "," “群报告” ",
					"<img src='./img/chat/jiankong.jpg'>"
				]);
				break;
			case "gopng_fl":
				e("福利系统", [ "举个栗子"], [" “看帅哥” ", " “看美女” ", " “快手小姐姐” ",
					"<img src='./img/chat/fl.jpg'>"
				]);
				break;
			case "gopng_kd":
				e("踢人功能", ["若发现有人广告或诽谤，可以让机器人高效协同", "举个栗子"], [" “此功能需要机器人是群管理员，否则无效” ", " “@昵称 78” ", " “ @昵称4444” ",
					"<img src='./img/chat/tr.jpg'>"
				]);
				break;
			
			case "gopng_tgrj":
				e("舔狗日记", ["在群里可以让我讲舔狗文案噢！", "举个栗子"], [" “舔狗日记” ", 
					"<img src='./img/chat/tgrj.jpg'>"
				]);
				break;
			case "gopng_wzzl":
				e("王者战力", ["在群里可以查看某个英雄在不同系统的战力排行哦！", "举个栗子"], [" “战力查询李白” ", " “战力查询孙尚香” ",
					"<img src='./img/chat/wzzl.jpg'>"
				]);
				break;
			case "gopng_hs":
				e("核酸采样", ["在群里发[核酸采样]，高效查看附近的核酸检测点！", "举个栗子"], ["“核酸采样”",
					"<img src='./img/chat/hs.jpg'>"
				]);
				break;
			case "gopng_xrhy":
				e("新人欢迎", ["【仅超管可设置，需单独开启】有新群成员加入群时，可以发送自定义的欢迎语<br/>", "“举个栗子”"], [" “开启入群欢迎” ", " “欢迎语# 欢迎内容” "," “想自定义欢迎语音：设置欢迎语音” ",
					"<img src='./img/chat/hy.jpg'>"
				]);
				break;
			case "gopng_zdyhf":
				e("自定义回复", ["【超管可设置】可以设置让瑶妹回复你预先设定的回答噢", ], [" “需要联系客服开通” ",
					"<img src='./img/chat/ck.jpg'>"
				]);
				break;
			case "gopng_jrrp":
				e("今日人品", ["想知道今日的人品怎样, 可以在群里发今日人品", "举个栗子"], ["“人品” ", "“@昵称 配对” ",
					"<img src='./img/chat/rp.jpg'>"
				]);
				break;
			case "gopng_hmjx":
				e("号码吉凶", ["想知道你的号码吉凶怎样, 可以在群里发手机+号码", "举个栗子"], ["“手机18888888888” ", 
					"<img src='./img/chat/hmjx.jpg'>"
				]);
				break;
				case "gopng_tg":
				e("鸡汤语录", ["激励人心，奋发图强，每日一点小鸡汤", "举个栗子"], ["“毒鸡汤” ", 
					"<img src='./img/chat/jt.jpg'>"
				]);
				break;
			
			case "gopng_wm":
				e("联系客服", ["<p>在群里发[联系客服]，即可最快找到客服！</p>", "举个栗子"], ["“联系客服”", "“联系客服会有卡片点击进入产看更多玩法”",
					"<img  src='./img/chat/lxkf.jpg'>"
				]);
				break;
			case "gopng_dj":
				e("打劫", ["<p>在群里发[打劫]，先签到获得打劫次数，再打劫对方！</p>", "举个栗子"], ["“签到”", "“@小凯 打劫”", "“入狱若要保释发：保释”",
					"<img  src='./img/chat/dj.jpg'>"
				]);
				break;
			case "gopng_dt":
				e("红包封面", ["<p>群里发送红包封面，即可点击卡片进入微店购买！</p>", "举个栗子"], ["“红包封面”", 
					"<img  src='./img/chat/dt.jpg'>"
				]);
				break;
			case "gopng_fch":
				e("防止撤回", ["<p>在群里发[开启防撤回]，即可防止群内有人撤回消息！</p>", "举个栗子"], ["“开启防撤回”", "“关闭防撤回”",
					"<img  src='./img/chat/fch.jpg'>"
				]);
				break;
			case "gopng_cwwd":
				e("奴隶系统", ["<p>在群里发[奴隶]，通过购买奴隶给你打工，获得金币！</p>", "举个栗子"], ["“@瑶妹 买下”", "“@瑶妹 出售”",  "“ 奴隶打工”", "“ @瑶妹打赏”","“赎身”", 
					"<img  src='./img/chat/nuli.jpg'>"
				]);
				break;
			case "gopng_qgxt":
				e("超管权限", ["<p>在群里发，以下口令触发，踢人须给机器人群管理权限</p>", "举个栗子"], ["“给群员加钻石：加钻石#100”","“查看机器人到期时间：有效期”", "“给群员强制离婚：[@昵称 仲裁离婚]”", "“不让群员使用机器人：[@昵称 444]”", "“把群员移出小黑屋：[@昵称 333]”", "“踢掉群员不再让进群：[@昵称 4444]”", "“踢掉群员：[@昵称 78]”", "“清空黑名单：黑名单#”","“清空永久黑名单：永久黑名单#”","“必须超管自身有钻石的才可加”",
					"<img  src='./img/chat/cgqx.jpg'>"
				]);
				break;
			case "gopng_szgl":
				e("设置管理", ["<p>管理分为[超管权限、普通管理]</p>", "举个栗子"], ["“若要添加管理：@昵称 666”", "“若要取消管理：@昵称 555”", "“若要添加超管：群里发 联系客服 购买”", "“若要取消超管： 联系客服取消”", "“查看管理员名单：查看管理”","“清空管理员名单：管理员#”",
					"<img  src='./img/chat/guanli.jpg'>"
				]);
				break;
			case "gopng_szjb":
				e("金币魅力", ["<p>给群员或自己添加金币魅力</p>", "举个栗子"], ["“给他人添加金币：@昵称 加金币#1000”", "“给他人扣除金币：@昵称 扣金币#1000”", "“给他人清空金币：@昵称 金币清空”", "“给自己添加金币：加金币#1000”", "“给他人添加魅力：@昵称 加魅力#1000”", "“给自己添加魅力：加魅力#1000”", "“给所有人加金币：批量加金币#1000”", "“给所有人加魅力：批量加魅力#1000”", "“本群清空掉所有人金币：确认清空金币”",
					"<img  src='./img/chat/jinbi.jpg'>"
				]);
				break;
			case "gopng_gnkg":
				e("功能开关", ["<p>在群里通过指令来操作机器人开关！</p>", "看图片操作"], ["“关闭指定功能把开启改成关闭即可”",
					"<img  src='./img/chat/gnkg.jpg'>"
				]);
				break;

			default:
				e("提示", ["暂未开通此功能"])
		}
	}

	function e(s, e, i, g) {
		o(), mui("#title")[0].innerText = s;
		var n = "",
			c = "";
		g && (n += "<p style='color:red;margin-bottom:5px;'>" + g + "</p>");
		for (var a in e) n += "<p>" + e[a] + "</p>";
		for (var r in i) c += "<p>" + i[r] + "</p>";
		mui("#body .head")[0].innerHTML = n, mui("#body .citing")[0].innerHTML = c, setTimeout(function () {
			t.refresh()
		}, 500)
	}

	function o() {
		mui("#Toast")[0].style.display = "block"
	}

	function i() {
		mui("#Toast")[0].style.display = "none";
		mui("video")[0].pause();
	}
	var t, g, n = sessionStorage.getItem("url");
	if (n) {
		var c = {
			title: "title",
			url: "lifeAssistant2.html" + location.search
		};
		window.history.pushState(c, c.title, c.url), window.onpopstate = function (s) {
			sessionStorage.removeItem("url"), location.href = n
		}, window.onbeforeunload = function () {
			sessionStorage.removeItem("url")
		}
	}
	console.log(window.history), 0 != common.isApp && (mui(".footer-tip-wrap")[0].style.display = "none"), mui(
		".footer-tip-wrap").on("tap", ".footer-img", function () {
			sessionStorage.removeItem("url"), alert("联系客服：sxnggg")
		}), mui("body").on("tap", ".mask,.popup-close", function () {
			mui(".mask")[0].style.display = "none", mui(".popup")[0].style.display = "none"
		}), mui("body").on("tap", ".look-btn", function () {
			location.href = common.apihost + "/aWeChat/renew"
		}), mui("body").on("tap", ".popup-btn", function () {
			_hmt.push(["_trackEvent", "使用说明", "跳转", "小凯"]), sessionStorage.removeItem("url"), location.href = ""
		}),
		function () {
			return "micromessenger" == window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i)
		}() && -1 == location.pathname.indexOf("yet_buy") && (wxsdk.start(), wxsdk.wxShare()), mui(".girdFour").on("tap",
			"li",
			function () {
				s(this.children[0].children[0].id)
			}), g = new IScroll("#hotgame", {
				scrollX: !0
			}), t = new IScroll("#body", {
				probeType: 3
			}),
		function (s, e) {
			var o = document.body.clientWidth,
				i = s,
				t = o / i * 10;
			document.getElementsByTagName("html")[0].setAttribute("style", "font-size:" + t.toFixed(2) + "px"), setTimeout(
				function () {
					mui(".hotgame-inner")[0].style.width = 4 * mui(".hotgame-inner li")[0].offsetWidth + 5 * mui(".hotgame-inner li")[
						1].offsetWidth + "px", e()
				}, 500)
		}(375, function () {
			g.refresh()
		}), document.getElementById("close").addEventListener("click", i)
}();